<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <meta content="关键字" name="keywords">
    <meta content="简介" name="description">
</head>

<body>
<!-- 无序 -->
<style>
    .list {
        list-style: none;
    }

    .list li {
        counter-increment: item;
        line-height: 25px;
    }

    .list li:before {
        display: inline-block;
        width: 15px;
        height: 15px;
        font: 15px/15px "";
        text-align: center;
        margin-right: 5px;
        border-radius: 3px;
        color: rgba(51, 51, 51, 0.78);
        border: 1px solid gray;
        background-color: rgba(128, 128, 128, 0.07);
        content: counter(item);
    }

    .list li:nth-of-type(1):before {
        color: #fff;
        border: 1px solid darkorange;
        background-color: rgba(255, 0, 0, 0.57);
    }

    .list li:nth-of-type(2):before {
        color: #fff;
        border: 1px solid darkorange;
        background-color: rgba(0, 255, 0, 0.57);
    }

</style>
<ul class="list">
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
    <li>aaaa</li>
</ul>


<!--  有序列表 -->
<ol>
    <li>aa</li>
    <li>aa</li>
    <li>aa</li>
</ol>
<!-- 自定义列表 -->
<dl>
    <dt>河南</dt>
    <dd>郑州</dd>
    <dd>开封</dd>
    <dd>洛阳</dd>
    <dt>上海市</dt>
    <dd>A</dd>
    <dd>B</dd>
    <dd>C</dd>
</dl>
</body>
</html>
